package com.amazon.bo;

import com.amazon.bo.base.BaseBo;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Created by anhui on 2018/3/11.
 */
@Entity
@DynamicUpdate
@DynamicInsert
public class Money  extends BaseBo implements Serializable {
    @Column(columnDefinition = ("varchar(20)default null comment '三位数的货币代码。格式为 ISO 4217'"))
    private String currencyCode;

    public String getCurrencyCode() {
        return this.currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    @Column(columnDefinition = ("varchar(10)default null comment '货币金额。'"))
    private String amount;

    public String getAmount() {
        return this.amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

}
